import {BasicColumn,FormSchema} from '@apps/antd-admin/src/components/Table';

export const columns: BasicColumn[] = [
    {
        title: '创建人',
        dataIndex: 'createBy',
        width: 200,
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        width: 200,
    },
    {
        title: '更新人',
        dataIndex: 'updateBy',
        width: 200,
    },
    {
        title: '更新时间',
        dataIndex: 'updateTime',
        width: 200,
    },
    {
        title: '货架名称',
        dataIndex: 'shelvesName',
        width: 200,
    },
    {
        title: '影棚ID',
        dataIndex: 'studioId',
        width: 200,
    },
    {
        title: '负责人',
        dataIndex: 'shelvesDirector',
        width: 200,
    },
    {
        title: '状态 1可用2暂停使用',
        dataIndex: 'shelvesStatus',
        width: 200,
    },
    {
        title: '最后操作人',
        dataIndex: 'operationUserName',
        width: 200,
    },
    {
        title: '操作时间',
        dataIndex: 'operationTime',
        width: 200,
    },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
    {
        label: '创建人',
        field: 'createBy',
        component: 'Input',
        required: true,
    },
    {
        label: '创建时间',
        field: 'createTime',
        component: 'Input',
        required: true,
    },
    {
        label: '更新人',
        field: 'updateBy',
        component: 'Input',
        required: true,
    },
    {
        label: '更新时间',
        field: 'updateTime',
        component: 'Input',
        required: true,
    },
    {
        label: '货架名称',
        field: 'shelvesName',
        component: 'Input',
        required: true,
    },
    {
        label: '影棚ID',
        field: 'studioId',
        component: 'Input',
        required: true,
    },
    {
        label: '负责人',
        field: 'shelvesDirector',
        component: 'Input',
        required: true,
    },
    {
        label: '状态 1可用2暂停使用',
        field: 'shelvesStatus',
        component: 'Input',
        required: true,
    },
    {
        label: '最后操作人',
        field: 'operationUserName',
        component: 'Input',
        required: true,
    },
    {
        label: '操作时间',
        field: 'operationTime',
        component: 'Input',
        required: true,
    },
];
